﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace Cm.Web.Models
{
    public class TemplateModel
    {
        [DisplayName("姓名")]
        public string Name { get; set; }
        [DisplayName("年龄")]
        public int Age { get; set; }
        [DisplayName("性别")]
        public bool IsBoy { get; set; }
        [DisplayName("邮件")]
        public string Email { get; set; }
        [DisplayName("地址")]
        public Address Address { get; set; }
    }
    public class Address
    {
        public string Country { get; set; }
        public string City { get; set; }
        public string District { get; set; }
    }
}